//package czx.drools.common.config;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.cloud.gateway.route.RouteLocator;
//import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @Description: TODO
// * @author: chenzx
// * @date: 2023/12/1 15:45
// */
//@Configuration
//public class GatewayConfig {
//
//    @Bean
//    public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
//        return builder.routes()
//                .route("百度_主页", r -> r.host("www.baidu.com")
//                        .and().path("/baidu","dfd","dsdsd")
//                        .uri("http://www.baidu.com"))
//                .r
//                .build();
//    }
//
//
//}
